//
//  MTRotatingScreen.h
//  ebook
//
//  Created by mt on 16/9/7.
//  Copyright © 2016年 Moton. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface MTRotatingScreen : NSObject

/**
 *  切换横竖屏
 *
 *  @param orientation ：UIInterfaceOrientation
 */
+ (void)forceOrientation: (UIInterfaceOrientation)orientation;

/**
 *  判断是横屏
 *
 *  @return 布尔值
 */
+ (BOOL)isOrientationLandscape;

/**
 *  判断是竖屏
 *
 *  @return 布尔值
 */
+ (BOOL)isOrientationPortrait;
@end
